<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>事件列表 - 调度中心</title>
    <link rel="stylesheet" th:href="@{/lib/bootstrap/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/lib/bootstrap-icons/font/bootstrap-icons.css}">
    <script th:src="@{/js/auth.js}"></script>
</head>
<body>
<div class="container mt-5">
    <h2 class="mb-4"><i class="bi bi-list-ul"></i> 事件列表</h2>
    <button class="btn btn-primary mb-3" onclick="loadEvents()"><i class="bi bi-arrow-clockwise"></i> 刷新</button>
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>ID</th>
                <th>标题</th>
                <th>类型</th>
                <th>优先级</th>
                <th>严重程度</th>
                <th>状态</th>
                <th>上报人</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody id="eventListBody">
        </tbody>
    </table>
</div>
<script th:src="@{/js/dispatch-events.js}"></script>
<script th:src="@{/js/permission.js}"></script>
</body>
</html> 
